package com.luxx.dao;

import com.luxx.entity.Dish;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by luxx
 * 2017-11-03 23:17
 */
public interface DishDao extends JpaRepository<Dish, Long>{

    List<Dish> findAllByType(String type);
}
